<template>
    <div class="news">
        <h2>我是News组件</h2>
        <hr/>
        <ul>
            <li>xxxxx</li>
            <li>xxxxx</li>
            <li>xxxxx</li>
            <li>xxxxx</li>
        </ul>
    </div>
</template>

<script>
    export default {
        name: 'News'
    }
</script>

<style scoped>
    .news{
        background-color: pink;
        padding: 10px;
    }
</style>